<template>
  <div style="background: #ccc; height: 50px;">
    <h3>儿子小明: 有存款: {{money}}</h3>
    <button @click="geiQian(50)">给BABA钱: 50</button>
  </div>
</template>

<script>
import myMixin from './myMixin'
export default {
  name: 'Son',
  data () {
    return {
      money: 30000
    }
  },
  mixins: [myMixin]
}
</script>
